package com.gljx.web.service;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.MaintainItemEdit;
import com.gljx.web.Entity.MaintainItemEditEntry;
import com.gljx.web.Entity.User;

public interface MaintainItemEditService {

	Map<String, Object> selectPage(int pindex, String psql, int psize);

	Map<String, Object> selectPageCount(String psql);
	
	List<MaintainItemEditEntry> queryMaintainItemEditEntry(String faprentId,String maintainItemName);

	void editMaintainItemEdit(MaintainItemEdit maintainItemEdit, String[] fseq, String[] cfmaintainitemno,
			String[] cfmaintainitemid, String[] cfmaintainitemgs, String[] cfmaintainitemdj, String[] cfmaintainitembxq,
			String[] cfmigs, String[] cfmidj, String[] cfmibxq, String[] cfdesc, User user, String time);
	
	MaintainItemEdit queryMaintainItemEditByFid(String fid);

    void deleteMaintainItemEditByFid(String fid, String[] deleteId, String[] fnumber, String fnumber2);

	int auditMaintainItemEdit(String fid, String type, String fhandlerId, String fnumber, String message, String state, String auditState);

    int modifyMaintainItemEdit(MaintainItemEdit maintainItemEdit);

    List<MaintainItemEditEntry> selectMaintainItemEditByInfo(String fcompanyid, String maintainItemName, String fnumber, String beginTime, String endTime);
}
